import request from '@/utils/request'
export default {
  //生成数据
  createStatisticsByDay(day) {
    return request({
      url: `/eduStatistics/createStatisticsByDay/${day}`,
      method: 'post'
    })
  },
  // 图标显示
  showChart(searchObj) {
    return request({
      url: `/eduStatistics/showChart/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
      method: 'get'
    })
  }
}
